package com.zmj.framework.service.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.zmj.framework.bean.Log;
import com.zmj.framework.dao.LogDao;
import com.zmj.framework.service.LogManager;
import com.zmj.framework.util.PageController;
@Service
@Transactional
public class LogManagerImpl implements LogManager {
	@Autowired
	LogDao logDao;
	public List getLogList(Log log, PageController controller) {
		return this.logDao.getLogList(log, controller);
	}

	public int saveLog(Log log) {
		return this.logDao.saveLog(log);
	}

	public Log getLog(String id) {
		return this.logDao.getLog(id);
	}
}
